{% extends "eshop/banner.html" %}
{% load i18n %}
{% load static %}
{%block content%}
	<h1>{{product.name}}</h1>
	<div class="image_panel">
		<img src="{{ product.photo }}" alt="CSS Template" width="100" height="150" />
	</div>
	<h2>{{product.price}} {%trans 'money'%}</h2>
	<ul>
		<li>
			{%trans 'seller'%} {{product.seller.user.username}}
		</li>
		<li>
			{%trans 'category'%} {{periodical.category.name}}
		</li>
	</ul>
	<p>
		{{product.description}}
	</p>
	<form action="/product/cart/" method="post">{% csrf_token %}
			<input type="hidden" id="product_id" name="product_id" value="{{product.id}}"/>
			<input type="submit" value="{%trans 'buy'%}" class="buy_button"/>
	</form>
	<div class="cleaner_with_height">
		&nbsp;
	</div>
<!-- end of content right -->
{%endblock%}